export const ORDER_TYPE = {
    callout: {
      key: "6",
      label: "星级外呼时", // 已改造
      serviceName: 'outbound/addTime',
      queryServiceName: 'outbound/selectList',
      exportServiceName: 'outbound/exportExcel',
      updateServiceName: 'outbound/updateTime',
      detailServiceName: 'outbound/queryOutbound',
      permission: 'enterOrder_orderType_callout',
      searchPermission: 'enterOrderQuery_orderType_callout',
      getQueryForm: (configMap) => {
        return [
          configMap.businessNumber
        ]
      }
    },
    overTime: {
      key: "1",// 已改造
      label: "2.0工单超时及外派联系时",
      serviceName: 'overtime/addTime',
      queryServiceName: 'overtime/selectList',
      exportServiceName: 'overtime/exportExcel',
      updateServiceName: 'overtime/updateTime',
      detailServiceName: 'overtime/queryOvertime',
      permission: 'enterOrder_orderType_overTime',
      searchPermission: 'enterOrderQuery_orderType_overTime',
      getQueryForm: (configMap) => {
        return []
      }
    },
    card: {
      key: "2",// 已改造
      label: "单卡台账-科慧",
      serviceName: 'single/addTime',
      queryServiceName: "single/selectList",
      exportServiceName: 'single/exportExcel',
      updateServiceName: 'single/updateTime',
      detailServiceName: 'single/querySingle',
      permission: 'enterOrder_orderType_card',
      searchPermission: 'enterOrderQuery_orderType_card',
      getQueryForm: (configMap) => {
        return [
          configMap.whetherAnswer,configMap.whetherManage,configMap.businessNumber
        ]
      }
    },
    dayHandle: {
      key: "3", // 已改造
      label: "服务经理APP每日处理时",
      serviceName: 'boot/app/addApp',
      queryServiceName: 'boot/app/selectApp',
      exportServiceName: 'app/exportExcel',
      updateServiceName: 'boot/app/updateApp',
      detailServiceName: 'boot/app/queryApp',
      permission: 'enterOrder_orderType_dayHandle',
      searchPermission: 'enterOrderQuery_orderType_dayHandle',
      getQueryForm: (configMap) => {
        return [
          configMap.businessNumber
        ]
      }
    },
    handleBus: {
      key: "4", // 已改造
      label: "业务受理台账",
      serviceName: 'boot/accept',
      queryServiceName: 'boot/selectaccept',
      exportServiceName: 'boot/exportExcel',
      updateServiceName: 'boot/updateAccept',
      detailServiceName: 'boot/queryAccept',
      permission: 'enterOrder_orderType_handleBus',
      searchPermission: 'enterOrderQuery_orderType_handleBus',
      getQueryForm: (configMap) => {
        return [
          configMap.businessNumber
        ]
      }
    },
    order: {
      key: "5", // 已改造
      label: "外呼台账",
      serviceName: 'time/addTime',
      queryServiceName: 'time/selectTime',
      exportServiceName: 'time/exportExcel',
      updateServiceName: 'time/updateTime',
      detailServiceName: 'time/queryTime',
      permission: 'enterOrder_orderType_order',
      searchPermission: 'enterOrderQuery_orderType_order',
      getQueryForm: (configMap) => {
        return [
          configMap.businessNumber
        ]
      }
    },
    selectOrder: {
      key: "7",
      label: "星级选择工单时", // 已改造
      serviceName: 'choose/addTime',
      queryServiceName: 'choose/selectList',
      exportServiceName: 'choose/exportExcel',
      updateServiceName: 'choose/updateTime',
      detailServiceName: 'choose/queryChoose',
      permission: 'enterOrder_orderType_selectOrder',
      searchPermission: 'enterOrderQuery_orderType_selectOrder',
      getQueryForm: (configMap) => {
        return [
          configMap.businessNumber
        ]
      },
    },
    gxOrder: {
      key: "8",
      label: "单卡台账(广信)", // 已改造
      serviceName: 'singleWide/addTimeWide',
      queryServiceName: 'singleWide/selectListWide',
      exportServiceName: 'singleWide/exportExcel',
      updateServiceName: 'singleWide/updateTimeWide',
      detailServiceName: 'singleWide/querySingleWide',
      permission: 'enterOrder_orderType_gxOrder',
      searchPermission: 'enterOrderQuery_orderType_gxOrder',
      getQueryForm: (configMap) => {
        return [
          configMap.whetherAnswer,configMap.whetherManage,configMap.wideNumber
        ]
      }
    },
    contractOrder: {
      key: "9",
      label: "合约台账", // 已改造
      serviceName: 'contract/addContract',
      queryServiceName: 'contract/selectContract',
      exportServiceName: 'contract/exportExcel',
      updateServiceName: 'contract/updateContract',
      detailServiceName: 'contract/queryContract',
      permission: 'enterOrder_orderType_contractOrder',
      searchPermission: 'enterOrderQuery_orderType_contractOrder',
      getQueryForm: (configMap) => {
        return [
          configMap.ifBreathe,configMap.ifManage
        ]
      }
    },
    kdgjOrder: {
      key: "10",
      label: "宽带大区攻坚台账",
      serviceName: 'broadband/addBroadband',
      queryServiceName: 'broadband/selectList',
      exportServiceName: 'broadband/exportExcel',
      updateServiceName: 'broadband/updateBroadband',
      detailServiceName: 'broadband/queryBroadband',
      permission: 'enterOrder_kdgjOrder',
      searchPermission: 'enterOrderQuery_kdgjOrder',
      getQueryForm: (configMap) => {
        return [
          configMap.whetherAnswer,configMap.businessNumber
        ]
      }
    },
    rpaOrder: {
      key: "11",
      label: "RPA台账",
      serviceName: 'rpa/addRpa',
      queryServiceName: 'rpa/selectList',
      exportServiceName: 'rpa/exportExcel',
      updateServiceName: 'rpa/updateRpa',
      detailServiceName: 'rpa/queryRpa',
      permission: 'enterOrder_rpaOrder',
      searchPermission: 'enterOrderQuery_rpaOrder',
      getQueryForm: (configMap) => {
        return [
          configMap.whetherAnswer,configMap.businessNumber
        ]
      }
    }
  };